package com.cy.teducommunitys.com.cy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 菜单
 * </p>
 *
 * @author mdzz
 * @since 2019-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Menu extends BaseEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "menuId", type = IdType.AUTO)
    private Integer menuId;

    private String name;

    private String url;

    private Integer type;

    private Integer sort;

    private String note;

    @TableField("parentId")
    private Integer parentId;

    private String permission;
}
